const mongoose = require('mongoose')
const userSchema = mongoose.Schema({
    "batteryId":String,
    "picture":String,
    "capacity":Number,
    "status":String,
    "powerStationId":String,
    "warrantyEndDate":Date,
    "isRecycled":Boolean
})
module.exports = mongoose.model('batterys', userSchema, 'batterys')